package com.yidian.server.system;

import com.yidian.entity.PageResult;
import com.yidian.pojo.system.LoginLog;

import java.util.List;
import java.util.Map;

/**
 * @author whb
 * @create 2021-06-09 14:01
 * @desciption 登录日志Service
 */
public interface LoginLogService {
    public List<LoginLog> findAll();

    public PageResult<LoginLog> findPage(int page, int size);

    public List<LoginLog> findList(Map<String, Object> searchMap);

    public PageResult<LoginLog> findPage(Map<String, Object> searchMap, int page, int size);

    public LoginLog findById(Integer id);

    public void add(LoginLog loginLog);

    public void update(LoginLog loginLog);

    public void delete(Integer id);
}
